<?php

class editLogo
{
	var $row, $stringdim, $mode, $itemID, $title, $imageurl, $itemName;
	

	function editLogo($mode, $itemID, $title, $imageurl, $stringdim, $itemName = 'itemID')
	{
		$this->mode = $mode;
		$this->itemID = $itemID;
		$this->title = $title;
		$this->imageurl = $imageurl;
		$this->stringdim = $stringdim;
		$this->itemName = $itemName;
		
	}

	function render()
	{				
		global $skin_dir, $lang;
					
		$mode = $this->mode;
		$logoTitle = $this->title;
		$itemID = $this->itemID;
		$itemName = $this->itemName;
			
		$currentimage = $this->imageurl == '' ? $lang['NoLogo'] : 
				'<img src="' . $this->imageurl . '"/>';
					
		$uploadLogoInfo = $lang['LogoFilesize'] . $this->stringdim;
					
		include $skin_dir . 'tpl/editLogo.tpl';
	}
	
}
?>